<template>
  <div id="app">
    <nav>
      <router-link to="/">首页</router-link> |
      <router-link to="/todos">待办事项</router-link> |
      <router-link to="/about">个人简介</router-link> |
      <router-link to="/study-scores">个人成绩</router-link> |
      <router-link to="/personal-scores">课程成绩</router-link> |
      <a href="https://gitee.com/amqy/ui-component-library.git">仓库</a>
      
    </nav>
    <router-view/>
  </div>
</template>
#app {
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

nav {
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
  margin: 0 10px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

nav a.router-link-exact-active {
  color: white;
  background-color: #42b983;
}

button {
  background-color: #42b983;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #369f6e;
}

input[type="text"] {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 300px;
}
</style>